package com.tarena.seata.cart.web.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface CartMapper {
    @Delete("delete from cart_tbl where product_code=#{productCode} and user_id=#{userId}")
    void delCart(@Param("userId") String userId,@Param("productCode") String productCode);
}
